<?php
/**
 * Mullis Masonry Inc. theme
 *
 * @author Tyler Gordon
 */

  $page->css( theme::$folder . '/stylesheets/style.css' );

  echo $site->DOCTYPE();
?>
<html class="no-js" lang="en-US">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

  <title><?= $page->title(); ?> | <?= $site->title() ?></title>
  <meta name="description" content="<?= $page->description(); ?>">
  <meta name="author" content="<?= $page->author(); ?>">
  <meta name="copyright" content="<?= c::get('page.copyright') ?>">
  <meta name="keywords" content="<?= $page->keywords(); ?>">
  <?php echo $page->META ?>

  <link rel="shortcut icon" href="/<?= theme::$folder; ?>/images/favicon.ico">

  <!-- CSS: implied media=all -->
  <?php foreach( (array) $page->get( 'css' ) as $css ): ?>
  <link href="<?= $css['file']; ?>" rel="<?= $css['rel']; ?>">
  <?php endforeach; ?>
  <!-- end CSS-->

  <script src="/js/libs/modernizr.js"></script>
</head>

<body>
    <div class="row">
        <div class="three columns">

            <header class="site-header">

                <h1 class="site-identity">
                    <a href="/">
                        <img src="/<?= theme::$folder ?>/images/mmi-logo-255px.png" width="255" height="202" alt="Mullis Masonry">
                    </a>
                </h1>

                <nav class="menu">
                    <?php echo module( 'liriope', 'menu', array( 'page'=>$page )); ?>
                </nav>

                <ul class="social-icons l-inline">
                    <li>
                        <a href="https://www.facebook.com/pages/Mullis-Masonry-Inc/240317089383492" class="icon-facebook" target="_blank"></a>
                    </li>
                    <li>
                        <a href="mailto:info@mullismasonryinc.com" class="icon-mail"></a>
                    </li>
                </ul>

                <footer>
                    <p class="copyright">&copy;2012 Mullis Masonry Inc.</p>
                    <div>
                        <p>Mullis Masonry Inc.<br>
                        1234 Main St.<br>
                        Rock Hill SC, 29731<br>
                        </p>
                    </div>
                </footer>

            </header><!-- /.site-header -->

        </div>
        <div class="nine columns">

            <div role="main" class="site-content">
                <?= $liriope ?>
            </div><!-- /.site-content -->

        </div>
    </div>

    <!-- JavaScript at the bottom for fast page loading -->

    <!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline -->
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
    <script>window.jQuery || document.write('<script src="js/libs/jquery.min.js"><\/script>')</script>

    <!-- scripts concatenated and minified via ant build script-->
    <script defer src="/js/main.js"></script>
    <!--[if lt IE 7 ]>
    <script defer src="/fonts/icomoon/lte-ie7.js"></script>
    <![endif]-->
    <?php foreach( (array) $page->get( 'js' ) as $script): ?>
    <script defer src="<?= $script['file']; ?>" type="<?= $script['type']; ?>"></script>
    <?php endforeach; ?>
    <?php foreach( (array) $page->get( 'script' ) as $block): ?>
    <script type="text/javascript" charset="UTF-8">
    <?= $block; ?>
    </script>
    <?php endforeach; ?>
    <!-- end scripts-->

    <script>
        window._gaq = [['_setAccount','UA-36484221-1'],['_trackPageview'],['_trackPageLoadTime']];
        Modernizr.load({
            load: ('https:' == location.protocol ? '//ssl' : '//www') + '.google-analytics.com/ga.js'
        });
    </script>

    <!-- Prompt IE 6 users to install Chrome Frame. Remove this if you want to support IE 6.
    chromium.org/developers/how-tos/chrome-frame-getting-started -->
    <!--[if lt IE 7 ]>
    <script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
    <script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
    <![endif]-->

</body>
</html>

